<div>
<?echo validation_errors();?>
<?if(isset($system_message))echo $system_message;?>
<?php 
echo form_open('users/add');
?>

<fieldset>
        <div class="span5">
			<label>username:</label>
            <?php
            echo form_input('username','','placeholder="USERNAME"');
            ?>
        </div>
        <div class="span5">
			<label>Password:</label>
            <?php 
            echo form_input('password','','placeholder="PASSWORD"');
            ?>
        </div>
        <div class="span5">
            <?php

            echo form_dropdown('userType', array('admin' => 'Administrator User'),set_value('userType'));

            ?>
        </div>
        <div class="span5">
            <?php
            echo form_dropdown('userStatus', array('active' => 'Can log in', 'inactive' => 'Cannot log in'), set_value('userStatus'));
            ?>
        </div>
        <div class="span5">
            <?php
            echo form_submit('', 'Add User');
            ?>
        </div>
</fieldset>

<?php
echo form_close();
?>

</div>